from random import choice

def init_lottery_ticket():
	lottery_ticket = list(range(10))
	letters = ['a', 'b', 'c', 'd', 'e']
	for letter in letters:
		lottery_ticket.append(letter)
	return lottery_ticket

lottery_ticket = init_lottery_ticket()
my_ticket = [3]
times = 0
while True:
	times = times + 1
	if choice(lottery_ticket) in my_ticket:
		break
print(f"恭喜你在{times} 次后中奖了")